﻿using System.Configuration;

namespace ErrorDumper.Configuration {
    public class ProviderConfigurationElementCollection : ConfigurationElementCollection {

        protected override ConfigurationElement CreateNewElement() {
            return new ProviderConfigurationElement();
        }

        protected override object GetElementKey(ConfigurationElement element) {
            return ((ProviderConfigurationElement)element).Name;
        }
    }
}